package oa.lyk.service.Personoffice;

import java.util.List;

import oa.pojo.Dept;
import oa.pojo.Recall;
import oa.view.ContactView;
import oa.view.FilesView;
import oa.view.MsgView;
import oa.view.RecordView;
import oa.view.RewordView;
import oa.view.SalaryView;


public class Page {
	private int currentPage;
	private int totalPage;
	public static final int PAGE_SIZE=10;
	
	private List<Recall> data;
	private List<ContactView> conData;
	private List<FilesView> filesData;
	private List<Dept> deptData;
	private List<SalaryView> salaryData;
	private List<MsgView> msgData;
	private List<RewordView> rewordData;
	private List<RecordView> recordView;
	
	public List<RecordView> getRecordView() {
		return recordView;
	}
	public void setRecordView(List<RecordView> recordView) {
		this.recordView = recordView;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public List<Recall> getData() {
		return data;
	}
	public void setData(List<Recall> data) {
		this.data = data;
	}
	public List<ContactView> getConData() {
		return conData;
	}
	public void setConData(List<ContactView> conData) {
		this.conData = conData;
	}
	public List<FilesView> getFilesData() {
		return filesData;
	}
	public void setFilesData(List<FilesView> filesData) {
		this.filesData = filesData;
	}
	public List<Dept> getDeptData() {
		return deptData;
	}
	public void setDeptData(List<Dept> deptData) {
		this.deptData = deptData;
	}
	public List<SalaryView> getSalaryData() {
		return salaryData;
	}
	public void setSalaryData(List<SalaryView> salaryData) {
		this.salaryData = salaryData;
	}
	public List<MsgView> getMsgData() {
		return msgData;
	}
	public void setMsgData(List<MsgView> msgData) {
		this.msgData = msgData;
	}
	public List<RewordView> getRewordData() {
		return rewordData;
	}
	public void setRewordData(List<RewordView> rewordData) {
		this.rewordData = rewordData;
	}
	public static int getPageSize() {
		return PAGE_SIZE;
	}
	public Page(int currentPage, int totalPage, List<Recall> data,
			List<ContactView> conData, List<FilesView> filesData,
			List<Dept> deptData, List<SalaryView> salaryData,
			List<MsgView> msgData, List<RewordView> rewordData) {
		super();
		this.currentPage = currentPage;
		this.totalPage = totalPage;
		this.data = data;
		this.conData = conData;
		this.filesData = filesData;
		this.deptData = deptData;
		this.salaryData = salaryData;
		this.msgData = msgData;
		this.rewordData = rewordData;
	}
	public Page() {
		super();
	}
	
	
	
}